package dao;

/**
 * TbQuestioninpaper entity. @author MyEclipse Persistence Tools
 */

public class TbQuestioninpaper implements java.io.Serializable {

	// Fields

	private Integer questionInPaperId;
	private TbPaper tbPaper;
	private TbQuestion tbQuestion;
	private Integer scoreValue;

	// Constructors

	/** default constructor */
	public TbQuestioninpaper() {
	}

	/** full constructor */
	public TbQuestioninpaper(TbPaper tbPaper, TbQuestion tbQuestion,
			Integer scoreValue) {
		this.tbPaper = tbPaper;
		this.tbQuestion = tbQuestion;
		this.scoreValue = scoreValue;
	}

	// Property accessors

	public Integer getQuestionInPaperId() {
		return this.questionInPaperId;
	}

	public void setQuestionInPaperId(Integer questionInPaperId) {
		this.questionInPaperId = questionInPaperId;
	}

	public TbPaper getTbPaper() {
		return this.tbPaper;
	}

	public void setTbPaper(TbPaper tbPaper) {
		this.tbPaper = tbPaper;
	}

	public TbQuestion getTbQuestion() {
		return this.tbQuestion;
	}

	public void setTbQuestion(TbQuestion tbQuestion) {
		this.tbQuestion = tbQuestion;
	}

	public Integer getScoreValue() {
		return this.scoreValue;
	}

	public void setScoreValue(Integer scoreValue) {
		this.scoreValue = scoreValue;
	}

}